package com.baseandroid.dagger.component;

import android.app.Activity;

import com.androidbase.dagger.module.FragmentModule;
import com.androidbase.dagger.scope.FragmentScope;
import com.qianbao.qianbaobusiness.ui.cashier.CashierFragment;
import com.qianbao.qianbaobusiness.ui.borrow.BorrowFragment;
import com.qianbao.qianbaobusiness.ui.mine.MineFragment;
import com.qianbao.qianbaobusiness.ui.support.SupportFragment;

import dagger.Component;

@FragmentScope
@Component(dependencies = MyAppComponent.class, modules = FragmentModule.class)
public interface FragmentComponent {

    Activity getActivity();

    // void inject(Test1AppFragment test1appfragment);
    // void inject(Test2AppFragment test2appfragment);
    void inject(CashierFragment cashierFragment);

    void inject(MineFragment mineFragment);

    void inject(SupportFragment supportFragment);

    void inject(BorrowFragment loanFragment);
}
